/**
 * Project Name:fire-industry-DM-center
 * File Name:DmMapCfdaDrugsCdeProgressInfo.java
 * Package Name:com.firestone.bean.entity.elasticsearch.dm
 * Date:2018年4月9日下午3:21:00
 *
*/

package com.firestone.bean.entity.elasticsearch.dm;

import java.io.Serializable;
import java.util.List;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.DateFormat;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;
import org.springframework.data.elasticsearch.annotations.Setting;

import com.firestone.bean.entity.elasticsearch.nested.WeightJson;

/**
 * @Description: TODO(数据工厂DM层CFDA在审药品状态表 Elasticsearch bean)
 *               DM数据工厂ES表不由该系统维护，请将createIndex设为false，避免系统启动时修改了大数据维护表的索引
 * @author CAIYJ
 * @date 2018年4月9日 下午3:21:00
 */
@Document(indexName = "dm_map_cfda_drugs_cde_progress_info", type = "index", createIndex = false)
@Setting(settingPath = "/setting/setting.json")
public class DmMapCfdaDrugsCdeProgressInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    private String id;

    /**
     * @Fields SYS_add_time : TODO(添加时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_add_time;

    /**
     * @Fields SYS_add_time : TODO(检验时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_check_time;

    /**
     * @Fields SYS_add_time : TODO(更改时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_dm_update_time;

    /**
     * @Fields acceptance_id : TODO(受理号)
     */
    @Field(type = FieldType.text)
    private String acceptance_id;

    /**
     * @Fields apply_fee_date : TODO(费用收到日)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd")
    private String apply_fee_date;

    /**
     * @Fields apply_fee_status : TODO(收费情况)
     */
    @Field(type = FieldType.keyword)
    private String apply_fee_status;

    /**
     * @Fields apply_notice : TODO(通知内容)
     */
    @Field(type = FieldType.keyword)
    private String apply_notice;

    /**
     * @Fields apply_notice_date : TODO(通知时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd")
    private String apply_notice_date;

    /**
     * @Fields apply_receive_date : TODO(标准品回执收到日)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd")
    private String apply_receive_date;

    /**
     * @Fields apply_report : TODO(检验报告收到日)
     */
    @Field(type = FieldType.keyword)
    private String apply_report;

    /**
     * @Fields apply_start_date : TODO(状态开始时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd")
    private String apply_start_date;

    /**
     * @Fields apply_status : TODO(办理状态)
     */
    @Field(type = FieldType.keyword)
    private String apply_status;

    /**
     * @Fields approval_reference_number : TODO(药品批准文号)
     */
    @Field(type = FieldType.keyword)
    private String approval_reference_number;

    /**
     * @Fields enterprise_name : TODO(企业名称)
     */
    @Field(type = FieldType.text, analyzer = "tab_analyzer")
    private String enterprise_name;

    @Field(type = FieldType.Nested)
    private List<WeightJson> weight_json;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSYS_add_time() {
        return SYS_add_time;
    }

    public void setSYS_add_time(String sYS_add_time) {
        SYS_add_time = sYS_add_time;
    }

    public String getSYS_check_time() {
        return SYS_check_time;
    }

    public void setSYS_check_time(String sYS_check_time) {
        SYS_check_time = sYS_check_time;
    }

    public String getSYS_dm_update_time() {
        return SYS_dm_update_time;
    }

    public void setSYS_dm_update_time(String sYS_dm_update_time) {
        SYS_dm_update_time = sYS_dm_update_time;
    }

    public String getAcceptance_id() {
        return acceptance_id;
    }

    public void setAcceptance_id(String acceptance_id) {
        this.acceptance_id = acceptance_id;
    }

    public String getApply_fee_date() {
        return apply_fee_date;
    }

    public void setApply_fee_date(String apply_fee_date) {
        this.apply_fee_date = apply_fee_date;
    }

    public String getApply_fee_status() {
        return apply_fee_status;
    }

    public void setApply_fee_status(String apply_fee_status) {
        this.apply_fee_status = apply_fee_status;
    }

    public String getApply_notice() {
        return apply_notice;
    }

    public void setApply_notice(String apply_notice) {
        this.apply_notice = apply_notice;
    }

    public String getApply_notice_date() {
        return apply_notice_date;
    }

    public void setApply_notice_date(String apply_notice_date) {
        this.apply_notice_date = apply_notice_date;
    }

    public String getApply_receive_date() {
        return apply_receive_date;
    }

    public void setApply_receive_date(String apply_receive_date) {
        this.apply_receive_date = apply_receive_date;
    }

    public String getApply_report() {
        return apply_report;
    }

    public void setApply_report(String apply_report) {
        this.apply_report = apply_report;
    }

    public String getApply_start_date() {
        return apply_start_date;
    }

    public void setApply_start_date(String apply_start_date) {
        this.apply_start_date = apply_start_date;
    }

    public String getApply_status() {
        return apply_status;
    }

    public void setApply_status(String apply_status) {
        this.apply_status = apply_status;
    }

    public String getApproval_reference_number() {
        return approval_reference_number;
    }

    public void setApproval_reference_number(String approval_reference_number) {
        this.approval_reference_number = approval_reference_number;
    }

    public String getEnterprise_name() {
        return enterprise_name;
    }

    public void setEnterprise_name(String enterprise_name) {
        this.enterprise_name = enterprise_name;
    }

    public List<WeightJson> getWeight_json() {
        return weight_json;
    }

    public void setWeight_json(List<WeightJson> weight_json) {
        this.weight_json = weight_json;
    }
}
